<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
<title>All News</title>
</head>
<body>
 <ul>
  #{list items:newslist, as:'News'}
  	<li><b><a href="@{Newss.ViewNews(News.id)}" >${News.Title}</a>
  		
  	</b>
  	
 <form action="@{Newss.DeleteNews()}"  method="get">
 <input type="hidden" value=${News.id} name="id">
 <input type="submit" Value="Delete">
 </form>
 
 <form action="@{Newss.EditNews()}" method="get"> 
  <input type="hidden" value=${News.id} name="id">
  <input type="submit" value="Edit"> 
 </form>
  	
  	</li>
  #{/list}

 </ul>
</body>
</html>